package com.pacvue.handler;

import com.pacvue.anno.RedissonLock;
import com.pacvue.exception.RedissonLockException;
import org.aspectj.lang.ProceedingJoinPoint;

public class DefaultLockFailureHandler implements LockFailureHandler {

    @Override
    public Object handle(ProceedingJoinPoint joinPoint, RedissonLock lock) {
        throw new RedissonLockException("分布式锁获取异常");
    }
}
